import 'package:json_annotation/json_annotation.dart';

import 'login_user.dart';
import 'store_message.dart';

part 'store_list_with_user_info.g.dart';

@JsonSerializable()
class StoreListWithUserInfo extends Object {
  LoginUser userInfo;

  List<StoreMessage> storeList;

  StoreListWithUserInfo(this.userInfo, this.storeList);

  factory StoreListWithUserInfo.fromJson(Map<String, dynamic> srcJson) => _$StoreListWithUserInfoFromJson(srcJson);

  Map<String, dynamic> toJson() => _$StoreListWithUserInfoToJson(this);
}
